package com.track.pulltofersh;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Gravity;
import android.widget.FrameLayout;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Arrow arrow = new Arrow(this);
        arrow.setBackgroundColor(0x55000000);

        FrameLayout.LayoutParams fp = new FrameLayout.LayoutParams(100,100);
        fp.gravity = Gravity.CENTER;
        arrow.setLayoutParams(fp);
        setContentView(arrow);
    }
}
